@import './variables.scss';
@import './fonts.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}
body,html{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.fl{
  float: left;
}
.fr{
  float: right;
}

.clearfix,.clear {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.center{
  text-align: center;
}

 #nprogress .bar {
  background: $baseColor !important; //自定义颜色
}

// /*美化滚动条*/
@mixin scrollbar($radius: 3px,$track:#dddddd,$width:10px,$thumb:#888888) {
  ::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色，还可以设置边框属性
      background-color: $track;
      border-radius: $radius;
  }
  ::-webkit-scrollbar {//滚动条的宽度
      width: $width;
      height: $width;
  }
  ::-webkit-scrollbar-thumb {//滚动条的设置
      background-color: $thumb;
      background-clip:padding-box;
      min-height:28px;
      border-radius: $radius;
  }
  ::-webkit-scrollbar-thumb:hover {
      background-color:rgba($thumb,.6);
  }
}
@include scrollbar(0px,#ddd,6px, $baseColor);
.zq-scroll{
  @include scrollbar(3px,#ddd,5px,$baseColor);
  overflow-x: hidden;
  overflow-y: auto;
  margin-right: 6px;
}

